home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / oneclick.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-05-16  |  1.3 KB  |  57 lines

  1. /*
  2. For general Scribus (>=1.3.2) copyright and licensing information please refer
  3. to the COPYING file provided with the program. Following this notice may exist
  4. a copyright and/or license notice that predates the release of Scribus 1.3.2
  5. for which a new license (GPL+exception) is in place.
  6. */
  7. #ifndef ONECLICK_H
  8. #define ONECLICK_H
  9.  
  10. #include <QDialog>
  11. class QGridLayout;
  12. class QHBoxLayout;
  13. class QVBoxLayout;
  14. class QLabel;
  15. class QCheckBox;
  16. class QPushButton;
  17. class QGroupBox;
  18. class ScrSpinBox;
  19. class LinkButton;
  20.  
  21. #include "scribusapi.h"
  22. #include "basepointwidget.h"
  23.  
  24. class SCRIBUS_API OneClick : public QDialog
  25. {
  26.     Q_OBJECT
  27.  
  28. public:
  29.     OneClick( QWidget* parent, QString titel, int unitIndex, double defW, double defH, bool remember, int origin, int mode );
  30.     ~OneClick() {};
  31.     ScrSpinBox *spinWidth;
  32.     ScrSpinBox *spinHeight;
  33.     LinkButton* linkSize;
  34.     QCheckBox* checkRemember;
  35.     QGroupBox* RotationGroupContainer;
  36.     BasePointWidget* RotationGroup;
  37.  
  38. public slots:
  39.     void ToggleKette();
  40.     void changeSizesH();
  41.     void changeSizesW();
  42.  
  43. private:
  44.     QVBoxLayout* queryLayout;
  45.     QGridLayout* editLayout;
  46.     QGridLayout* Layout12a;
  47.     QGridLayout* SizeGroupLayout;
  48.     QHBoxLayout* okCancelLayout;
  49.     QPushButton* okButton;
  50.     QPushButton* cancelButton;
  51.     QLabel* questionLabel;
  52.     QLabel* questionLabel2;
  53.     QGroupBox* SizeGroup;
  54. };
  55.  
  56. #endif
  57.